﻿using BaseData.API.Read.Dtos;
using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Read.Applications.Commands
{
    /// <summary>
    /// 权限管理查询请求类
    /// </summary>
    public class PermissionQueryCommand:IRequest<ApiResult<ApiPaging<List<PermissionDTO>>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string? PermissionName { get; set; }
    }
}
